<?php
namespace mbilling\BillingBundle\Validator\Constraints;

use Symfony\Component\Validator\ConstraintValidator;
use Symfony\Component\Validator\Constraint;

class IpValidator extends ConstraintValidator
{
    public function isValid($value, Constraint $constraint)
    {
	$this->setMessage('Неправильный формат');
        return false;
    }
}
